<template>
	<view>
		<text>{{title}}</text>
	</view>
</template>

<script>
	export default {
		data() {
			return {
				title:'123',
				temp:'',
			};
		},
		onLoad:function(option){
		    this.index()
		},
		methods:{
			index(){
				uni.$once('upload-success',function(data){
				this.temp=data.msg
				console.log(data.msg)
			})
			console.log("123:"+this.title)
			console.log("临时:"+this.temp)
			}

		}
	}
</script>

<style lang="scss">

</style>
